package cn.jdy.audit.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import cn.jdy.common.bo.BaseEntry;

/**
 * 产品实体类
 */
@Entity
@Table(name = "qq_record")
public class QqRecord extends BaseEntry implements Serializable {
  private static final long serialVersionUID = 1L;
  
  @Id
  @GeneratedValue(strategy = GenerationType.AUTO)
  // 根据数据库自动适配 mysql默认自增
  private Integer id; // 主键
  private String user_ip; //用户ip地址
  private String qq_account;
  private String mac;
  private Integer state;
  private Integer add_time;
  @Transient          //字段不写入数据库
  private String state_name;
  
  
  public String getState_name() {
	return state_name;
}
public void setState_name(String state_name) {
	this.state_name = state_name;
}
public Integer getId() {
    return id;
  }
  public void setId(Integer id) {
    this.id = id;
  }
  public String getUser_ip() {
    return user_ip;
  }
  public void setUser_ip(String user_ip) {
    this.user_ip = user_ip;
  }
  public String getQq_account() {
    return qq_account;
  }
  public void setQq_account(String qq_account) {
    this.qq_account = qq_account;
  }
  public String getMac() {
    return mac;
  }
  public void setMac(String mac) {
    this.mac = mac;
  }
  public Integer getState() {
    return state;
  }
  public void setState(Integer state) {
    this.state = state;
  }
  public Integer getAdd_time() {
    return add_time;
  }
  public void setAdd_time(Integer add_time) {
    this.add_time = add_time;
  }
}
